package com.battle.pojo.vo.questionBankDetailsStudy;

import com.battle.pojo.enums.QuestionBankTypeEnum;
import jakarta.persistence.Column;
import lombok.Data;
import com.battle.pojo.param.questionBankDetailsStudy.EditQuestionBankDetailsStudyParam;

import java.util.List;
import java.util.Map;

/**
* 【描 述】：获取题目学习
* 【环 境】：J2SE 17
* 【详 细】：
*
*/
@Data
public class GetQuestionBankDetailsStudyVo {
    /**
     * 题库学习id
     */
    private Long bankStudyId;

    /**
     * 唯一id
     */
    private Long id;

    /**
     * 状态：0未开始 1已完成
     */
    @Column(length = 255)
    private Integer status;

    /**
     * 用户id
     */
    @Column()
    private Long userId;

    /**
     * 题库id
     */
    @Column()
    private Long questionBankId;

    /**
     * 题目id
     */
    @Column()
    private Long questionId;

    /**
     * 题目答案
     */
    @Column()
    private String bankAnswer;

    /**
     * 用户答案
     */
    @Column()
    private String userAnswer;

    /**
     * 是否正确
     */
    @Column()
    private Boolean isCorrect;

    /**
     * 解析
     */
    @Column()
    private String analysis;

    /**
     * 题目名称
     */
    @Column()
    private String name;

    /**
     * 题目类型：0单选，1多选，2判断
     */
    @Column()
    private QuestionBankTypeEnum type;

    /**
     * 题目选项
     */
    @Column()
    private String options;

    /**
     * 题目选项
     */
    @Column()
    private Map<String,String> optionsJson;

    /**
     * 题目答案
     */
    @Column()
    private List<String> bankAnswerJson;
}